<%@ taglib prefix = "c" uri = "http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String u_id=(String)session.getAttribute("employee_id");
String u_name=(String)session.getAttribute("employee_name");
String u_auth=(String)session.getAttribute("auth");
if (u_id == null){
%>
<script>
//alert("잘못된 접근입니다");
location.href="../main/login.jsp";
</script> 
<%	
}
%>
<c:set var="u_auth" value="<%=u_auth%>" />
<c:if test="${u_auth == 1}">
	<c:set var="u_auth_name" value="시스템관리자" />
</c:if>
<c:if test="${u_auth == 2}">
	<c:set var="u_auth_name" value="인사관리자" />
</c:if>
<c:if test="${u_auth == 3}">
	<c:set var="u_auth_name" value="일반유저" />
</c:if>

